<div class="form protected-form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'drill-category-form',
	'enableAjaxValidation' => false,
));
?>

<?php echo $form->errorSummary($model); ?>

<h2 class="form-header">
	<?php	echo CHtml::encode($this->pageTitle);
	?>

</h2>


<table class="form-grid">
  <tr>
		<td><?php echo $form->labelEx($model,'id'); ?>
</td>
		<td><?php echo $form->textField($model, 'id', array('maxlength' => 40)); ?>
</td>
  </tr>
  <tr>
		<td><?php echo $form->labelEx($model,'drill_section_id'); ?>
</td>
		<td><?php echo $form->dropDownList($model, 'drill_section_id', GxHtml::listDataEx(DrillSection::model()->findAllAttributes(null, true))); ?>
</td>
  </tr>
</table><!-- gris -->


		<?php //echo $form->checkBoxList($model, 'drills', GxHtml::encodeEx(GxHtml::listDataEx(Drill::model()->findAllAttributes(null, true)), false, true)); ?>

<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'),array('id'=>'submit-button','class'=>'form-button'));
$this->endWidget();
?>
</div><!-- form -->